package com.yt.app.api.vo;

import com.yt.app.core.model.AppBanner;
import com.yt.app.core.model.AppIcon;
import com.yt.app.core.model.AppTopic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "商城首页数据", description = "")
public class MallIndexVo {
    @ApiModelProperty(value = "Banner", required = false)
    private List<AppBanner> banners;

    @ApiModelProperty(value = "商品列表", required = false)
    private List<ProductVo> products;

    @ApiModelProperty(value = "上一页最后一个话题ID，用于翻页", required = true)
    private Long lastId;

    public List<AppBanner> getBanners() {
        return banners;
    }

    public void setBanners(List<AppBanner> banners) {
        this.banners = banners;
    }

    public List<ProductVo> getProducts() {
        return products;
    }

    public void setProducts(List<ProductVo> products) {
        this.products = products;
    }

    public Long getLastId() {
        return lastId;
    }

    public void setLastId(Long lastId) {
        this.lastId = lastId;
    }
}
